﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<VTLive.Models.Video>" %>

    <% using (Html.BeginForm()) {%>
            
         <fieldset>
            <legend>Fields</legend>

            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.Name) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.Name) %>
            </div>    
            
            
             <div class="editor-label">
                <%= Html.LabelFor(model => model.Link) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.Link) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.Description) %>
            </div>
            <div class="editor-field">
                <%= Html.TextAreaFor(model => model.Description) %>
            </div>
    
            <p>
                <input type="submit" value="Create" />
            </p>
        </fieldset>

    <% } %>

